//
//  YAYISettingModel.h
//  YAYIDoctor
//
//  Created by Veer on 16/5/6.
//  Copyright © 2016年 hxp. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface XSettingItemModel : NSObject

@property (assign, nonatomic) Class destVcClass;
@property (nonatomic,copy) NSString  *name;     /**  功能名称*/
@property (nonatomic,strong) NSString *icon;          /** 功能图片  */
@property (nonatomic,copy) NSString *detail;    /** 更多信息-提示文字  */
@property (nonatomic,copy) NSString *signalStr;    /** 更多信息-提示文字  */
@property (nonatomic, assign) BOOL isHaveArrow;
@property (nonatomic, assign) BOOL isHaveSwitch;

// switch是否开启
@property (nonatomic, assign) BOOL isOn;


@property (nonatomic,copy) void (^executeOperation)(NSIndexPath *indexPath); /**<      点击item要执行的代码*/

+ (instancetype)itemWithIcon:(NSString *)icon name:(NSString *)name;
+ (instancetype)itemWithIcon:(NSString *)icon name:(NSString *)name detail:(NSString *)detail;

@end
